{% spaceless %}
<div class="widget">
	<div class="widget-header">
		<span class="title"><i class="icos-clipboard-2 icos-white"></i>Tâche</span>
		<div class="toolbar">
			<span style="display:inline-block; padding:10px;" id="plug-general-loader"></span>
			<div class="btn-group" id="plug-general-actions">
				<span class="btn dropdown-toggle" data-toggle="dropdown">
						<i class="icon-pencil"></i> Actions <i class="caret"></i>
				</span>
				<ul class="dropdown-menu pull-right dropdown-menu-left">
					<li><a href="/IMT/event/0/"><i class="icol-add"></i> Nouvel tâche</a></li>
					<li style="display: none;"><a id="plug-general-edit" href="#"><i class="icol-pencil"></i> Modifier la tâche</a></li>
					<li><a id="plug-general-delete" href="#"><i class="icol-cross"></i> Supprimer la tâche</a></li>
				</ul>
			</div>
		</div>
	</div>
	<div style="padding: 0px; display: block;" class="toolbar btn-toolbar form-edit">
		<div class="btn-group">
			<button class="btn" type="submit" id="plug-general-save"><i class="icol-accept"></i> Sauvegarder</button>
			<button type="reset" class="btn" id="plug-general-undo"><i class="icol-arrow-undo"></i> Rétablir</button>
			<button class="btn" type="button" id="plug-general-cancel"><i class="icol-cancel"></i> Annuler</button>
		</div>
	</div>
	<div class="widget-content table-container">
		<table class="table table-striped table-detail-view">
			<thead>
				<tr>
					<th colspan="5"><i class="icol-exclamation"></i> Informations générales</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<th>Titre</th>
					<td colspan="4"><span id="imt_event_form_general_title_view" class="form-view" style="display: none;">test avec manager</span><span class="form-edit" style="display: inline;"><input type="text" value="test avec manager" class=" not-removable" style="width:90%" required="required" name="imt_event_form_general[title]" id="imt_event_form_general_title"></span>
					</td>
				</tr>
				<tr>
					<th>Planifier la tâche</th>
					<td colspan="4"><input type="checkbox" id="taskplan" name="taskplan" /></td>
				</tr>
				<tr class="task_time">
					<th style="width:20%;">Date de début</th>
					<td style="width:28%;"><span id="imt_event_form_general_date_date_view" class="form-view" style="display: none;">22/11/2012</span><span class="form-edit" style="display: inline;"><span id="imt_event_form_general_date_date_edit">22/11/2012</span><input type="hidden" value="22/11/2012"></span></td><th style="width:20%; border:1px solid #CCC;">Heure de début</th>
					<td style="width:28%;"><span id="imt_event_form_general_date_time_view" class="form-view" style="display: none;">00:00</span><span class="form-edit" style="display: inline;"><span id="imt_event_form_general_date_time_edit">00:00</span><input type="hidden" value="00:00"></span></td>
					<td><input type="text" id="imt_event_form_general_date" name="imt_event_form_general[date]" required="required" style="display:none;" class=" not-removable" value="2012-11-22 10:00:00"><button type="button" class="btn btn-mini pull-right form-edit" id="plug-general-date-edit" style="display: inline;"><i class="icol-calendar-2"></i></button></td>
				</tr>
				<tr class="task_time">
					<th>Date de fin</th>
					<td><span id="imt_event_form_general_dateFin_date_view" class="form-view" style="display: none;">22/11/2012</span><span class="form-edit" style="display: inline;"><span id="imt_event_form_general_dateFin_date_edit">22/11/2012</span><input type="hidden" value="22/11/2012"></span></td>
					<th style="border:1px solid #CCC;">Heure de fin</th>
					<td><span id="imt_event_form_general_dateFin_time_view" class="form-view" style="display: none;">00:00</span><span class="form-edit" style="display: inline;"><span id="imt_event_form_general_dateFin_time_edit">00:00</span><input type="hidden" value="00:00"></span></td>
					<td><input type="text" id="imt_event_form_general_dateFin" name="imt_event_form_general[dateFin]" required="required" style="display:none;" class=" not-removable" value="2012-11-22 12:00:00"><button type="button" class="btn btn-mini pull-right form-edit" id="plug-general-dateFin-edit" style="display: inline;"><i class="icol-calendar-2"></i></button></td>
				</tr>
				<tr class="task_time">
					<th>Toute la journée</th>
					<td><span id="imt_event_form_general_allDay_view" class="form-view" style="display: none;"><span class="badge badge-success">Oui</span></span><span class="form-edit" style="display: inline;"><input type="checkbox" checked="checked" value="1" name="imt_event_form_general[allDay]" id="imt_event_form_general_allDay"></span></td>
					<th style="border: 1px solid #CCC;">Récurrence</th>
					<td colspan="2"><span>Aucune</span><button type="button" class="btn btn-mini pull-right form-edit" style="display: inline;"><i class="icol-cog"></i></button></td>
				</tr>
				<tr>
					<th>Projet</th>
					<td colspan="4"><select name="task_project"><option>-</option><option>Exemple de projet 1</option></select/></td>
				</tr>
			</tbody>
			<thead>
				<tr><th colspan="5"><i class="icol-find"></i> Détails complémentaires</th></tr></thead><tbody><tr><th>Description</th><td colspan="4"><span id="imt_event_form_general_content_view" class="form-view" style="display: none;">blablabla test ACL et EventManager</span><span class="form-edit" style="display: inline;"><textarea style="width:90%" rows="3" class="input-xlarge" name="imt_event_form_general[content]" id="imt_event_form_general_content">blablabla test ACL et EventManager</textarea></span></td>
				</tr><tr class="form-edit" style="display: table-row;"><th>Importance</th><td colspan="4"><select required="required" name="imt_event_form_general[importance]" id="imt_event_form_general_importance"><option value="0">Par défaut</option><option selected="selected" value="1">Mineur</option><option value="2">Moyen</option><option value="3">Urgent</option></select></td></tr></tbody><thead><tr><th colspan="5"><i class="icol-exclamation-octagon-fram"></i> Contrôle de doublons</th></tr></thead><tbody><tr><th>Activer</th><td colspan="4"><span class="badge">Non</span></td></tr></tbody><thead><tr><th colspan="5"><i class="icol-clipboard-text"></i> Reporting</th></tr></thead><tbody><tr><th>Activer</th><td colspan="4"><span class="badge">Non</span>
				</td></tr></tbody>
		</table>
	</div>
</div>
{% endspaceless %}